package dujiu.luogu.branch;

import java.util.Arrays;
import java.util.Scanner;

public class P5717 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int[] arr = {a,b,c};
        Arrays.sort(arr); // 从小到大排序
        judge(arr);
    }

    public static void judge(int[] arr) {
        if (arr[0] + arr[1] <= arr[2] || arr[2] - arr[1] >= arr[0]) {
            System.out.println("Not triangle");
            return;
        }
        if (arr[0]*arr[0] + arr[1]*arr[1] == arr[2]*arr[2]){
            System.out.println("Right triangle");
        }else if (arr[0]*arr[0] + arr[1]*arr[1] > arr[2]*arr[2]){
            System.out.println("Acute triangle");
        }else if (arr[0]*arr[0] + arr[1]*arr[1] < arr[2]*arr[2]){
            System.out.println("Obtuse triangle");
        }

        if (arr[0] == arr[1] || arr[1] == arr[2]) {
            System.out.println("Isosceles triangle");
            if (arr[0] == arr[1] && arr[1] == arr[2]){
                System.out.println("Equilateral triangle");
            }
        }
    }
}
